<template>
  <div class="goods">
   <page-content :contentTableConfig="contentTableConfig" pageName="goods">
     <template #image="scope">
        <el-image
          style="width: 60px; height: 60px"
          :src="scope.row.imgUrl"
          :preview-src-list="[scope.row.imgUrl]"
          fit="cover"
        >
        </el-image>
      </template>
   </page-content>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import PageContent from '@/components/page-content';

import { contentTableConfig } from './config/content.config'

export default defineComponent({
  name: 'goods',
  components:{
    PageContent
  },
  setup() {

    return {
      contentTableConfig,
    }
  }
})
</script>

<style scoped></style>
